<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>{$page_title}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="{$admin_temp_path}/css/general.css" rel="stylesheet" type="text/css" />
	<link href="{$admin_temp_path}/css/main.css" rel="stylesheet" type="text/css" />
	<script src="{$url_path}/js/jquery.js"></script>
	<script src="{$url_path}/js/utils.js"></script>
	<script src="{$admin_temp_path}/js/listtable.js"></script>
	{literal}
	<script>
		function check()
		{
			if(confirm("您确认删除这些吗？"))
			{
				return true;
			}
			else
			{
				return false;
			}
		}

		function check_del(url)
		{
			if(confirm("您是否确认删除该用户！"))
			{
				location.href = url;
			}


			return;
		}
	</script>
	{/literal}
</head>
<h1>
<!--	<span class="action-span"><a href="order.php?action=add_order">添加会员</a></span>-->
	<span class="action-span1"><a href="">{$sys_name} 管理中心</a>  - {$page_title} </span>
	<div style="clear:both"></div>
</h1>
<body>
<div class="form-div">
	<form action="order.php" name="searchForm" onsubmit="">
		<img src="{$admin_temp_path}/images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
		关键字 <input type="text" placeholder="请输入订单号"  name="keyword" id="keyword" value="{$keyword}"/>
		状态<select name="status">
		<option value="0">所有</option>
		<option value="1" {if $status eq 1}selected{/if}>待付款</option>
		<option value="2" {if $status eq 2}selected{/if}>已付款</option>
	</select>
		<input type="submit" value="搜索" class="button" />
	</form>
</div>
<form method="post" action="order.php?action=del_sel_order" name="listForm" onsubmit="return check()">
	<div class="list-div" id="listDiv">
		<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
			<tr align="center">
				<th width="5%">订单号</td>
				<th width="10%">用户id</td>
				<th width="10%">雇主称呼</td>
				<th width="10%">微信昵称</td>
				<th width="5%">金额</td>
				<th width="8%">下单时间</td>
				<th width="8%">状态</td>
				<th width="8%">付款时间</td>
				<th width="8%">操作</td>
			</tr>
			{section name=loop loop=$order_list}
			<tr align="center">
				<td>{$order_list[loop].ordersn}</td>
				<td>{$order_list[loop].userid}</td>
				<td>{$order_list[loop].username}</td>
				<td>{$order_list[loop].nickname}</td>
				<td>{$order_list[loop].cost}</td>
				<td>{$order_list[loop].add_time_format}</td>
				<td>{if $order_list[loop].status == 2}已付款{else}待付款{/if}</td>
				<td>{$order_list[loop].pay_time_fromat}</td>
				<td><a href="order.php?action=mod_order&ordersn={$order_list[loop].ordersn}&now_page={$now_page}">查看</a></td>
			</tr>
			{/section}
			<tr>
				<td>
					<!--<input type="submit" value="批量删除" id="btnSubmit" name="btnSubmit" class="button" disabled="true" />-->
					<input type="hidden" value="{$now_page}" name="now_page"/>
					<input type="hidden" value="{$admin_temp_path}" id="admin_temp_path"/>
				</td>
				<td colspan="11" align="right">&nbsp;&nbsp;&nbsp;&nbsp;{$pageshow}</td>
			</tr>
		</table>
	</div>
</form>
</body>
</html>
<script language="JavaScript" src="{$admin_temp_path}/js/select.js"></script>